import Http from "../utils/HttpUtil";
import URL from "./URL";

export default {
    async SendSms(phone){
        let url=URL.GetURL(URL.SendSMS);
        console.log(phone)
        let para={phone};
        return await(Http.Post(url,para))
        .then(response=>{
            return(response);
        },reject=>{
            return Promise.reject(reject);
        });
    }
}